From: Allan Day Date: Thu, 29 Nov 2012 14:29:09 +0000 (+0000) Subject: theme: remove excessive padding from notification buttons X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4355 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=e14ef4a294f612196af9ecb48b067826854dc3b5;p=gnome-shell.git theme: remove excessive padding from notification buttons Set the button width manually and remove the huge horizontal padding we had. This means that long button labels don't get cut off. https://bugzilla.gnome.org/show_bug.cgi?id=664411 --- diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index c2d575f35..954d50a55 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -1453,11 +1453,13 @@ StScrollBar StButton#vhandle:active { } .notification-button { - padding: 4px 42px 5px; + -st-natural-width: 140px; + padding: 4px 4px 5px; } .notification-button:focus { - padding: 3px 41px 4px; + -st-natural-width: 138px; + padding: 3px 4px 4px; } .notification-icon-button {